package com.manshutingyu.common.core.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Set;

@Data
public class LoginUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String userName;
    private String password;
    private String avatar;
    private String token;
    private Integer delFlag;
    private String status;
    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;

    /**
     * 登录IP地址
     */
    private String ipaddr;

    /**
     * 权限列表
     */
    private Set<String> permissions;

    /**
     * 角色列表
     */
    private Set<String> roles;
}
